#ifndef _Sensor_h
#define _Sensor_h

#include "common.h"

extern float AD_value[12];
extern float ad0_one;
extern float ad1_one;
extern float ad2_one;
extern float ad3_one;
extern float ad4_one;
extern float ad5_one;
extern float ad6_one;
extern float ad7_one;
extern float ad8_one;
extern float ad9_one;
extern float ad10_one;
extern float ad11_one;
extern float dev_new;
extern float dev_dev;
extern float dev_new1;
extern float e,ec;
extern int flag;
extern float weight;
extern int flag_error;
void read_adc(void);
void sensor_to_one(void);
void error_calculate(void);
#endif